package com.ljy.my_study.book.tom.软件架构设计原则.最少知道原则.one;

import java.util.ArrayList;
import java.util.List;

public class Boss {

    public void commandCheckNumber(TeamLeader teamLeader){
        List<Course> courseList=new ArrayList<>();
        for(int i=0;i<20;i++){
            courseList.add(new Course());
        }
        teamLeader.checkNumberOfCourses(courseList);
    }
}
